package com.xux.model.po;

import com.xux.model.entity.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 店铺订单切片
 *
 * @TableName op_order_slic
 */
@Data
@NoArgsConstructor
@Document(collection = "orderSlic")
public class OrderSlic extends BaseEntity implements Serializable {
    /**
     *
     */
    private Long id;

    /**
     * 店铺ID
     */
    private Long shopId;

    /**
     * 排序顺位从大到小
     */
    private String ordered;

    /**
     * 切片时间
     */
    private Date slicDate;
    /**
     * 库存数量
     */
    private Long inventory;

    private Integer orderNum;

    private Long skuId;

    private BigDecimal price;

    private String shopName;

    private String outerId;
    private Long activityInventory;
    private Long reserveQuantity;

    /**
     * 活动状态
     */
    private Integer activityStatus;

    /**
     * 活动描述
     */
    private String activityReason;

    /**
     * 平台类型
     */
    private Integer platFormType;

    private static final long serialVersionUID = 1L;
}